package com.example.flow.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.example.flow.biz.FlowTaskApproveBiz;
import com.example.flow.dao.mapper.FlowTaskApproveMapper;
import com.example.flow.dao.model.FlowTaskApprove;

/**
 * @author safe
 * @date 2021/1/30
 */
@Service
public class FlowTaskApproveBizImpl implements FlowTaskApproveBiz {
    @Autowired
    private FlowTaskApproveMapper taskApproveMapper;
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void saveCommonApproval(FlowTaskApprove flowTaskApprove) {
        taskApproveMapper.insert(flowTaskApprove);
    }
}
